const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  configureWebpack: {
    resolve: {
      alias: {
        "~mock": "./mock",
      },
    },
  },
  devServer: {
    proxy: {
      "/ftyyptapi": {
        target: "http://qf.ft.learv.com",
        changeOrigin: true,
        secure: false,
        pathRewrite: {
          "^/ftyyptapi": "",
        },
      },
    },
  },
});
